<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="include/base.jsp" %>
<!DOCTYPE HTML>
<html >
<head>
	<meta charset="UTF-8">
	<title>凯盛项目管理系统</title>
	<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
	<link rel="stylesheet" type="text/css" href="css/loong.css" />
</head>
<body class="body">
	
	<%@ include file="include/top.jsp" %>
	
	
	
	<div class="container">
	  <div class="row row-inner">
	  <%@ include file="include/left.jsp" %>
		<div class="span8">
			<form action="editContact.jspx" method="post" class="form-horizontal">
       
        		
        
        		<fieldset>
        			
		          <legend style="padding-left:100px;width:83%;">编辑联系人</legend>
		          <div class="control-group">
		            <label class="control-label" for="input01" >姓名</label>
		            <input type="hidden" name="id" value="${requestScope.contact.id}"/>
		            <div class="controls">
		              <input name="name" type="text" class="span3" id="input01" x-webkit-speech="undefined" value="${requestScope.contact.name} ">
		            </div>
		          </div>
		          <div class="control-group">
		            <label class="control-label" for="input01">项目名称</label>
		             <input type="hidden" name="p_id" value="${SessionScope.project.id}"/>
		            <div class="controls">
		            	
		            	<select class="span3" name="projectName">
							<option>--请选择有关项目--</option>
							<option>PMS系统</option>
							<option>电子邮件系统</option>
							<option>网上书城系统</option>
						</select>
		             
		            </div>
		          </div>
				   <div class="control-group">
		            <label class="control-label" for="input01">公司</label>
		            <div class="controls">
		              <input name="company" type="text" value="${requestScope.contact.companyname} " class="span5" id="input01" x-webkit-speech="undefined">
		            </div>
		          </div>
				  <div class="line"></div>
				   <div class="control-group">
		            <label class="control-label" for="input01">手机</label>
		            <div class="controls">
		              <input name="tel" type="text" value="${requestScope.contact.tel} " class="span3" id="input01" x-webkit-speech="undefined">
		            </div>
		          </div>
				   <div class="control-group">
		            <label class="control-label" for="input01">固话</label>
		            <div class="controls">
		              <input name="moblie" type="text" value="${requestScope.contact.moblie} " class="span3" id="input01" x-webkit-speech="undefined">
		            </div>
		          </div>
				  <div class="control-group">
		            <label class="control-label" for="input01">邮箱</label>
		            <div class="controls">
		              <input name="email" type="text" value="${requestScope.contact.email} " class="span3" id="input01" x-webkit-speech="undefined">
		            </div>
		          </div>
				   <div class="line"></div>
				  <div class="control-group">
		            <label class="control-label" for="input01">地址</label>
		            <div class="controls">
		              <input name="address" type="text" value="${requestScope.contact.address} " class="span5" id="input01" x-webkit-speech="undefined">
		            </div>
		          </div>
				   <div class="line"></div>
				   <div class="control-group">
		            <label class="control-label" for="input01">主页</label>
		            <div class="controls">
		              <input name="website" type="text" class="span3" id="input01" value="${requestScope.contact.website} ">
					  <p class="help-block">http://www.baidu.com</p>
		            </div>
		          </div>
				   <div class="control-group">
		            <label class="control-label" for="input01">微博</label>
		            <div class="controls">
						<select class="span2" name="weiboType">
							<option>--请选择微博类型--</option>
							<option>新浪微博</option>
							<option>腾讯微博</option>
							<option>Twitter</option>
						</select>
						<div class="input-prepend">
							<span class="add-on">@</span><input name="weibo" class="span2" id="prependedInput" size="16" type="text" x-webkit-speech="undefined">
		                </div>
						
		            </div>
		          </div>
				   <div class="control-group">
		            <label class="control-label" for="input01">简介</label>
		            <div class="controls">
		              <textarea class="span5" value="${requestScope.contact.content} " rows="6" name="content"></textarea>
		            </div>
		          </div>
		   
		  

		          <div class="form-actions">
		            
		            <a class="btn pull-center back" href="contactShow.jspx">返回</a>
		            <input type="reset" value="重置">
		            <button type="submit" class="btn btn-primary save pull-center" >保存</button>
		          </div>
        
        	</fieldset>
           </form>       
          	
		</div>
		<div class="span3">
			
		</div>
	  </div>
	  <%@ include file="include/foot.jsp" %>
	</div>
	<script type="text/javascript" src="js/jquery.min.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
	
		<script type="text/javascript">
			
			$(document).ready(function(){
				
				/* $(".back").click(function(){
					$(this).attr("href","contactShow.jspx");
				}); */
				
				
			});
		</script>
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
</body>
</html>